Solve for a ax-5=b