The system of equations we have is
[tex]\begin{gathered} k+a=500 \\ 3k+10a=3600 \end{gathered}[/tex]We first multiply the top equation by 3 to get
[tex]3k+3a=1500[/tex]and therefore, our system becomes
[tex]\begin{gathered} 3k+3a=1500 \\ 3k+10a=3600 \end{gathered}[/tex]subtracting the top equation from the bottom equation gives
[tex]7a=3600-1500[/tex][tex]7a=2100[/tex]finally, dividing both sides by 7 gives
[tex]a=\frac{2100}{7}[/tex][tex]a=300[/tex]with the value of a in hand, we now find the value of k
[tex]\begin{gathered} k+a=500 \\ k+300=500 \end{gathered}[/tex]subtracting 300 from both sides gives
[tex]\begin{gathered} k=500-300 \\ k=200 \end{gathered}[/tex]Hence, the solution to the system is a = 300 and k = 200, meaning 300 adults and 200 kids visited the carnival.