You and your friend made up a basketball shooting game. Every shot made from the free throw line is worth 3 points, and every shot made from the half-court mark is worth 6 points. Write an equation that represents the total number of points, P, if f represents the number of shots made from the free throw line, and h represents the number of shots made from half-court.