The question happens often as an academic exercise.
A, p known.
x, y unknown.
2x+2y=p and xy=A.
-
You can continue symbolically like this and use formula for solution of a quadratic equation, or you can substitute the given values for p and A now, and reach your values for x and y.