ryder is buying tennis balls and dogs treats for his dog. he has 12 dollars to spend on dog supplies. each tennis ball cost one dollar and 50 cents and reach bag of dog treats costs threee dollars.