Solved the following simultaneous equations for $a$ and $b$:
(1)
$$a + 2b = 2\\3a + b = 10$$
$$3a + 6b = 6\\3a + b = 10$$
$$5b = -4$$
$$b = \frac{-4}{5}\\a = \frac{18}{5}$$
(2)
How do we use the answers/information in (1) to solve the following equations for $x$ and $y$?
$$2^{x+2y} = 2^{20}\\5^{5x+y} = 25^{x+50}$$
In general how do these types of equations relate?