Answer
Please see the work below.
Work Step by Step
We know that
$E=-\frac{GM_{sun}\space M_earth}{2r}$
We plug in the known values to obtain:
$E=-\frac{(6.67\times 10^{-11})(1.99\times 10^{30})(5.97\times 10^{24})}{(2)(150\times 10^9)}$
$E=-2.6\times 10^{33}J$