As well as removing the extra ", you'll need to put brackets around the calculation ie
Code:
System.out.println("The equation is: "+(a.b^2 + b.x+c));