Answer is (A) 4
Let the first number be 3 − x and the second number be x.
Accordingly, we have to maximize (3 - x)x2.
Let us consider
f(x) = (3 - x)x2 = 3x2 - x3 ⇒ f'(x) = 6x - 3x2
Therefore,
f'(x) = 0 ⇒ x = 0, 2
Also,
f''(x) = 6 - 6x
Obviously, f''(2) = - 6 < 0. Therefore, the required maximum value is (3 - 2)22 = 4.