Solve the following simultaneous equations:
$$2^x + 2^y = 10$$
$$x + y = 4$$
Looking at it, it is obvious that the answers are $(3,1)$ and $(1,3)$, however, I was wondering if they could be solved algebraically. Here's my approach:
$$2^x + 2^{4-x} = 10$$
$$2^x + \frac{(2^4)}{(2^x)} = 10$$
$$2^x + \frac {16}{2^x} = 10$$
And this is where I get stuck. Any help will be greatly appreciated, thanks in advance.
Set $z=2^x$ to obtain $z^2-10z+16=0$ and solve the quadratic