This solution is left as an exercise to the reader. It turns out that the Sun's "tidal differential" is about half that of the Moon's - enough to affect ocean tides on Earth to some extent as well.