At a local market, 3 apples and 2 pears cost $2.70. Three apples cost the same as 4 pears. Type a system of equations to find the cost for one apple and the cost for one pear.