Write y = x + 30, or y − x = 30.
Next, if y = x + 30, then xy or x(x + 30) or x2 +30x
gives the product of the two numbers x & y.
Now write f(x) = x2 +30x. By The First Derivative Test, f'(x) = d(x2 +30x)/dx or 2x + 30 gives a critical point at x = -15 (to obtain 2x + 30 equal to 0).
Then The Second Derivative Test gives f''(x) as d2y/dx2 equal to d(2x + 30)/dx or 2 which is greater than zero. This positive value of 2 for f''(-15) indicates that f(x) = x2 +30x has a lowest point or minimum for
(x,[x2 +30x]) at (-15,[(-15)2 +30(-15)]) or (-15,-225).
Since -225 is obtained by (-15 times 15) and (15 minus -15) gives a difference of 30, the two numbers sought would be (x,y) equal to (-15,15).