Please help with these two I understand the plugging in part but I don’t understand the steps to get to the answer sorry

Answer:
2. 5
3. 302
Step-by-step explanation:
2. -8/(4)+7
-8/4 = -2
(-2)+7
5
3. 2-5(3-7(9))
(3-7(9)) = -60
2-5 = 2+(-5)
2 + (-5)(-60)
2+(300)
302