Joshua surveys his friends to find out which recreational sport is most liked. He asks each of his friends if they prefer basketball, soccer, baseball, or volleyball. He finds 15 of his friends like volleyball and 25 prefer soccer. How many of Joshua’s friends prefer volleyball and soccer over the other two sports?(1 point)

$$

To find out how many of Joshua’s friends prefer volleyball and soccer over the other two sports, we need to subtract the number of friends who prefer basketball or baseball from the total number of friends and subtract the number of friends who prefer only one of the two sports from the answer we got. Let's start by calculating the number of friends who prefer basketball or baseball. The total number of friends who answered the survey is 15+25 = <<15+25=40>>40

For basketball, x number of friends preferred it.
For baseball, y number of friends preferred it.
From Joshua’s survey, the number of friends who answered basketball or baseball is x+y = 40. The number of friends who took the survey and answered volleyball is 15. Therefore, the number of friends who took the survey and never answered basketball or baseball is 40-15 = <<40-15=25>>25
To find the number of friends who prefer basketball, subtracting the number of friends who took the survey and didn't answer basketball from the total number of friends gives x = 40 - 25 = <<40-25=15>>15 friends.
To find the number of friends who prefer baseball, subtracting the number of friends who took the survey and didn't answer baseball from the total number of friends gives y = 40 - 25 = <<40-25=15>>15 friends.
The number of friends who took the survey and answered only one of the two sports is 15 + 15 + 25 = <<15+15+25=55>>55 friends.
The number of friends who prefer volleyball and soccer over the other two sports is 40 - 55 = <<40-55=-15>>-15 friends. Answer: \boxed{15}.