Answer :
m + 5f = 25....multiply by -1
m + 10f = 40
----------------
-m - 5f = -25 (result of multiplying by -1)
m + 10f = 40
-----------------add
5f = 15
f = 3
m + 10f = 40
m + 10(3) = 40
m + 30 = 40
m = 40 - 30
m = 10
so the membership fee (m) = 10 and the sessions(f) = 3
m + 10f = 40
----------------
-m - 5f = -25 (result of multiplying by -1)
m + 10f = 40
-----------------add
5f = 15
f = 3
m + 10f = 40
m + 10(3) = 40
m + 30 = 40
m = 40 - 30
m = 10
so the membership fee (m) = 10 and the sessions(f) = 3