Solving for X