He has a total of 85 cards and is selling each basketball card for $5 and each baseball card for $3. He hopes to make a total of $315. How many baseball cards and basketball cards does he have in his collection