The drama club sold tickets for the school play at $5 each. A ticket for the dress rehearsal cost $2. The club sold four times as many tickets for the play as for the dress rehearsal. The drama club collected $5148 for the tickets. How many tickets were sold for the dress rehearsal? How many tickets were sold in total?