The graph shows the possible combinations of the number of bags of popcorn, x, and the number of drinks, y, that could be purchased for $30 at a movie theater. If Jordan’s total purchase was $30 and included 3 bags of popcorn, how many drinks did Jordan purchase?