ticket sale on Saturday night is triple the ticket sale on Friday night.
Therefore
ticket sales on Saturday night = 3 x 12425 = 37275
Then
ticket sales for both nights = 12425 + 37275 = 49700
A ticket costs 35.
Let the number of people that attended the carnival on both nights be n.
Then, we have
![\begin{gathered} 35n=49700 \\ \Rightarrow n=(49700)/(35)=1420 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/k2wb5dpmqeaxnpd3ngbvofy0689rvbrynw.png)
Therefore 1420 people attended the carnival on both nights