If we replace with , we get:
Solving this for gives you .
If we replace with , we get the following two equations to solve:
You then need to solve these for x.
Have you worked with logs at all? For example, , this is the same as . Does this ring any bells?