Answer: this is the final equation.......
Explanation:
Lets get started.
As the product of Greg's height and 3 is 39.
As given the Greg's height is represented by g.
Hence,

Plugging the value of Greg's height as g in equation

........................Answer.