You spent $24 more than Pam. If you spent $82, how much money did Pam spend?Write and solve an equation.