A pet store sells cats for $50 and dogs for $100. In only one day it sells a total of 4 pets and makes $300, find out how many cats and dogs it sold by writing as a system of equations and graphing to solve it.​