Problem solving with derivatives.

Question: The sum of 2 numbers is 12. If one number is x, the value of x for which the product of the two numbers is a maximum is?

x + y = 12

For which value of x is x * y the greatest?