m/5 - 7 = 22

So far i've done this:

m/5 = 22+7
m/5 = 29

I don't know how to solve M

you got rid of the subtraction by adding.

Get rid of the division by multiplying.

m/5 * 5 = 29*5
m = 145