The product of Greg's height and 3 is 39. Use the variable g to represent Greg's height. Translate this sentence into an equation.