Rangers hang on to beat the Bulldogs, 5-3