2x(-7)^2-9 = 2x49-9=98-9=89 maybe
8 - 4(-2) + 5(6)
8 + 8 + 30
=46
Some of the important "given" information is outside of the photo.
We need to know that the two triangles are similar.
And we need to know that the WHAT ? of angle M is 9/40.
This appears to be just an expression we are simplifying, not an equation we are solving. I THINK you are saying that the expression looks like this:

If you rationalize the denominator, you would get this expression:

which, after simplifying, looks like this:

and that's as simple as I can see that one getting. You can't factor anything out of the denominator to cancel with the numerator, so I think you're as simple as you can get there!