Stuck in the official GRE quant - arithmetic question 3

Hi friends. Does anyone know how to re-arrange x and y into x + y = 13n + 5? I can’t seems to get that.

image

Actually never mind. I just found out that I can just add the 2 equations together to get the expression. Silly me, many thanks!