how to get the solution of algebra?