Take a look at the first question again I think you may be missing something.

The second one I will do here:

1

-m -1=5 .... multiply both sides of the equation by 3

3

m-3=15 ... add 3 to both sides

m=18

P.S. if you want to say x squared then write x^2