Take out the small ghost Rapo first — jump on them as they appear so they can't crowd you.
Then turn on Bakibeard, the giant ghost, and jump on him the same way. It's a short fight once the adds are cleared, though the timing takes a couple of attempts to get comfortable with.