let x=number of cds and y=number of dvds
use x+y=40 and 4x+6y=180 as your systemand solve each for y.
