a basketball and a pump costs 31 dollars. if the basketball costs three times as much as the pump, how much does each item cost?