Use PEMDAS.
4+5*7-1
4+35-1
39-1
38
38. You do the multiplication first, then the addition and subtraction.