Answer:
24
Step-by-step explanation:
Subtract 15 from both sides of the equation:
m^2 +8 -15 = 39 -15
m^2 -7 = 24