Solve a b