A used book store also started selling CDs and videos.In the first week, the store sold a combination of 40 CDs and videos. They charged $4 per CD and $6 per video and the total sales were $180. Determine the total number of CDs and videos sold.