it would be 18 student tickets and 12 adult tickets
18x25= 450
12x30 = 360
360+450 = 810
Prime numbers 2,3,5,7,11,13,17,19,23
so 2+3+5=10 no
3+5+7=15 no
3+5+11=19 Yes this is your answer
At firt we should solve what is h(0)
h(0)=0^2+2
h(0)=2
So then you should take the h(0) answer to g(x) and the result is g(2)= -2-5=-7