We have the following:
We can solve the question by means of a system of equations,
where x is coach tickets and y is first class tickets
[tex]\begin{gathered} x+y=13\Rightarrow x=13-y \\ 250x+1180y=7900 \end{gathered}[/tex]solving for substitution
[tex]\begin{gathered} 250\cdot(13-y)+1180y=7900 \\ 3250-250y+1180y=7900 \\ 930y=4650 \\ y=\frac{4650}{930} \\ y=5 \end{gathered}[/tex]now, for x
[tex]x=13-5=7[/tex]Therefore, in total there are 5 first class tickets and 7 coach tickets