please show work for both thank you!!

Answer:
a. x = 4.8989794855663561963945681494118 or 4.9 rounded
b. x = 8.6023252670426267717294735350497 or 8.6 rounded
Step-by-step explanation:
7² - 5² = x²
49 - 25 = x
49 - 25 = 24
√24 = 4.8989794855663561963945681494118
7² + 5² = x²
49 + 25 = x
49 + 25 = 74
√74 = 8.6023252670426267717294735350497