The answer for X=5, while the answer for Y= -1, first use elimination to get rid of Y and calculate X. After get the answer of X, put the answer of X in any of these two equation and there will be only one variable left, so that Y can be calculated. So that X and Y can both be solved.