Alright let’s start with (2m+2y+5). If m=2 and y=-1, then you can plug in (2(2)+2(-1)+5). 2(2) is 4, so 4+2(-1)+5. 2(-1) is -2, so now 4+-2+5. And addition sign and a negative sigh cancel to make 4-2+5.
Answer: 7
Now (1m+7y-10), again we plug in m=2 and y=-1. (1(2)+7(-1)-10). 1(2) is 2. 7(-1) is -7. So now (2+-7-10), and the addition sign and negative sign make it (2-7-10). 2-7 is -5 minus 10.
Answer: -15
Have a good day mate.