Answer: 35
A prime number is one where the only factors are one and itself. A composite number has other factors.
You'll have to look at the list of numbers from 1 to 50
In that list, 47 is the largest prime less than 50, and 12 is the smallest composite number greater than 10.
So 47-12 = 35