The sum of the first number and twice the second number is 108 and the product is a maximum.
So I did
x + 2x = 108
x+x=108/2 = 54
2x=54
x=54/2 = 27
54,27 Im not sure if this is the right way to do it?
the product is a maximum ...
$\displaystyle P = (108-2y)y$
you can solve this using calculus ... $\displaystyle \frac{dP}{dy} = 0$ ... and determine the value of $\displaystyle y$ that maximizes $\displaystyle P$
or, without calculus ... you can remember something about the graph of a quadratic function w/ a negative leading coefficient and where the maximum is located.