Solve 4 Part Equation