C++ program doubt

Program to solve the following equations for values of x and y
x+y=5
x-y=10

@yutikakhanna,
Just solve it on a paper and print the answer.