The school store opened on the first day of school with 42 notebooks and 18 pencils. Within two days it sold all of these items. On the first​ day, twice as many notebooks were sold as pencils. On the second​ day, for every 5 notebooks​ sold, 2 pencils were sold. How many notebooks and how many pencils were sold on each​ day?