rearranging equations for easier solution

rearranging equations for easier solution