A video game awards 22 points for defeating a monster and 76 additional points for getting to the end of a stage.
Let m represent the number of monsters a player defeated in a stage and p represent the total number of points the player earned after finishing the stage.