Given that 1 kilogram of honeydew melon and 2 kilograms of watermelon, which cost her $7 and 3 kilograms of honeydew melon and 3 kilograms of watermelon, spending a total of $15 on the melons
Let x be the cost of a kilogram of honeydew melon and y be the cost of a kilogram of watermelon.
The system of equation is
[tex]x+2y=7\text{ take this as equation (1).}[/tex][tex]3x+3y=15\text{ take this as equation (2).}[/tex]Multiply equation (1) by 3, we get
[tex]3\times x+3\times2y=3\times7[/tex][tex]3x+6y=21\text{ take this as equation (3 ).}[/tex]Subtracting equation (2) from equation (3), we get
[tex](3x+6y)-(3x+3y)=21-15[/tex][tex]3x+6y-3x-3y=6[/tex][tex]3y=6[/tex]Dividing by 3, we get
[tex]\frac{3y}{3}=\frac{6}{3}[/tex][tex]y=2[/tex]Substitute y=2 in equation (1), we get
[tex]x+2\times2=7[/tex][tex]x+4=7[/tex]Subtracting 4 from both sides, w get
[tex]x+4-4=7-4[/tex][tex]x=3[/tex]The cost of a kilogram of honeydew melon =$ 3.
The cost of a kilogram of watermelon = $ 2.