Write an equation that correctly represents the scenario. Lincoln scored 16 points for the home team in a basketball game. His teammates scored 'p' points. His team scored 51 points total.