Those red lines would be the correct cut spots. The other issue might be that once you cut out the old out, the horizontal pipe remaining might be a little short to get a good glue fitting with your new coupling. Perhaps consider using the flex hose and fittings that came with the Booster pump...