OK, just so we are clear.
Gravitational PE is mass*gravity acceleration*height, or mgh. If you take upward as positive, gravity acceleration would be -9.81 m/s2. Maybe your book convention is different, but I assure you, I know my Physics.
When they ask you to take the difference, all you have to do is subtract the two numbers. Again because your book convention might be different, you may be playing around a bit with the addition and subtraction of negative numbers, but that is really all they are asking.
So since I took up as positive, the difference between a and b would be 0J-(-2.49x107)J, and that would result in 2.49x107J.