W represents the number of watermelons bought
P represents the number pineapples bought
The expression shows the total cost of both of fruits bought. If $4.49 is the cost for one watermelon, and $5 is the cost of one pineapple, the equation to find the cost becomes
Let y be the total cost;
y=$4.49w+$5p
Hope I helped :)