To calculate the relative frequency of the percent of 7th graders who prefer mountains, you would divide the number of 7th graders who prefer mountains (40) by the total number of students (310) and then multiply by 100 to get the percentage.
(40/310) * 100 = 12.9%
So, the relative frequency of the percent of 7th graders who prefer mountains is 12.9%, which when rounded to the nearest tenth is 13.0%.