Solve for12