Answer
Please see the work below.
Work Step by Step
We know that
$U=Gm_{sun}m_{earth}(\frac{1}{r_2}-\frac{1}{r_1})$
We plug in the known values to obtain:
$U=(6.67\times 10^{-11})(1.99\times 10^{23})(5.97\times 10^{24})(\frac{1}{147\times 10^9}-\frac{1}{152\times 10^9})$
$U=1.8\times 10^{32}J$