The total price of the melons is proportional to the number of melons.
Hence,
, where
is a constant of proportionality,
number of melons and
is the price.
From the given data,
![image](https://img.qammunity.org/2019/formulas/mathematics/college/cht65nvkle1vs2royfekcwncycsd3pyq2p.png)
From the above equations, we can see that the constant of proportionality is
.