Translate the following sentence into a math equation. Use to represent the unknown number.
The product of three and a number, added to six, yields forty-five.