Write each sentence as an equation.

The difference of y and 3 amounts to 12.

y - 3 = 12

OR

3 - y = 12