Translate this sentence into an equation.

42 decreased by Diane's age is 12.
Use the variable d to represent Diane's age.

42 - d = 12