We have x + y = 300 and want to maximize x*y. From the first condition we get y = 300 - x. Now substitute.
x(300 - x) = -x^2 + 300x
This is a parabola that opens DOWNWARD therefore the maximum occurs at the vertex. The x co-ordinate of the vertex is given by
Can you continue?