Laurent is preparing a fruit salad. She wants the total carbohydrates from pineapple and watermelon to equal 24 g. Pineapple has 3 g of carbohydrates per ounce and watermelon has 2 g of carbohydrates per ounce. Write and graph an equation to model this situation.