Solve a system of equations using any method