The sum of first number and twise the second number is and product is a maximum.
Let the two numbers are and
.
The sum of first number and twise the second number is .
.
The product of two numbers is .
Substitute in
.
Differentiate on each side with respect to .
.
Equate derivative function to zero.
\.
.
Substitute in
.
.
Therefore two numbers are and
.
The two numbers are and
.