We are given the following equation:
[tex]a^2+17=42[/tex]
Subtract both sides by 17
[tex]a^2=25[/tex]
Take the positive/negative square root of both sides
[tex]a=\pm5[/tex]
This should be your answer. Let me know if you have any questions, thanks!