Paula needs to replace the floor in her family room since her cat peed in several places. She wants to put down both vinyl flooring and carpet in the room. The carpet she selected costs $2 per sq. foot. The vinyl floor covering costs $1 per sq. foot. She has $500 to spend on materials and must cover an area of 300 sq. feet. How much carpet and vinyl flooring will she buy to meet her requirements?