p + 7 = 12 Subtract 7 from both sides of the equation. Subtract 7 from 7. 7 – 7 = 0 and 12 – 7 = 5, so p = 5. Substitute 12 for p to check the solution. Substitute 5 for p to check the solution.