You know that 3 pencils and 7 pens cost $24, while 3 pencils and 3 pens cost S12.
How many dollars are 4 pencils and 5 pens worth?