We have the following:
We can solve this problem by means of a proportion, since if with 50 grams we make 80 ounces of liquid coffee, we calculate the proportion from there and then multiply by the amount we want to know that are 240 ounces of liquid coffee
Therefore you need an amount of 150 grams of coffee beans