You solve this problem via PEMDAS (Parentheses Exponents Multiplication Division Addition Subtraction.)
To start you simplify everything inside parentheses.
9+3*5+5^2
Then you simplify the exponents.
9+3*5+25
Next, you simplify the multiplication signs.
9+15+25
Then you simplify all the addition signs from left to right.
24+25
49