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
Therefore 1420 people attended the carnival on both nights