Answer:
24
Step-by-step explanation:
there are 6 seats and 3 boys, 3 girls.
First seat can be given to either boy or a girl.
So there are two ways.
If a boy is selected say, then he has to occupy 3rd and 5th only.
There are 2 ways
Now available positions are 2nd, 4th and 6th, in this girls can be arranged in 3! ways = 6
So total number of ways =

First of all f(2)=2(2)-5=-1 and f(5)=2(5)-5=5
so
f(2)+f(3)=-1+5=4
14x-6=-4+48
18x-6=48
18x=54
X=3
-3(3)+48=41
14(3)-6=36
No solution