Write the sentence as an equation.

the product of 367 and d, reduced by 213 equals 397

367d - 213 = 397

367d - 213 = 397