Start by adding 24 to both sides to get 7x​=35. Now, divide both sides by 7 to find that x​=5. Finally, square both sides to find that x=25, which is (D).