A teacher planned a reward system based on the number of homework assignments completed by her students. She created a formula to determine the total number of points a student could earn. According to the formula:
$$ P = 5h + 3 $$
where $$ P $$ represents the total points and $$ h $$ represents the number of homework assignments completed. If a student completes 7 homework assignments, how many points will they earn?