Write an algebraic equation that matches the values shown in the table. Explain how you solved the problem.