Eight less than the product of 3 and a number is 2.
Use the variable for the unknown number.

Twice the difference of a number and 7 is equal to 9 .
Use the variable for the unknown number.