If your question is will he have enough money, the answer is no he will not.
1: -5 = 3m + c
2: -2 = 0 + c
From equation 2, we knew c = -2
So we sub into equation 1 and got the value of m
-5 = 3m - 2
m = -1
The equation of line is y = -x - 2
49 is a square of 7 and 4 is a square of 2. To get 45 you need to subtract 7² and 2². Therefore, its the difference of squares.