Max baked 5 pies for the bake sale. He cut each pie into 8 equal slices. In the first 30 mins of the bake sale, Max sold 19 slices of pie. How many pies did max sell in that time? Give your answer in 2 ways