An artist sold different amounts of paintings and drawings on Friday and Saturday. On Friday, she sold 10 paintings and 3 drawings for a total of $368. On Saturday, she sold 14 paintings and 3 drawings for a total of $508.

Let p represent the price of a painting and d represent the price of a drawing. The following system of equations represents this situation:

10p+3d=368

14p+3d=508

How much did the artist sell each piece of art fo