Let w be the weight of the wire and l be the length of the wire.
Now, we have been given that weight of a piece of wire is directly proportional to its length. Thus, we have
[tex]w=kl[/tex], where k is constant.
Now, given that a piece of wire is 25 cm long and has a weight of 6 grams.
l= 25, w=6
[tex]6=25k\\
\\
k= \frac{6}{25}[/tex]
Now, the length of the wire is 30 cm. Hence, we have
[tex]w= \frac{6}{25}\times 30\\
\\
w=\frac{36}{5}\\
\\
w=7.2 \text{ grams}[/tex]
Second question:
Given that p is inversely proportional to m.
[tex]p=\frac{k}{m}[/tex]
Now, p = 48 when m = 9
[tex]48= \frac{k}{9}\\
\\
k=432[/tex]
Now, we calculate the value of p when m = 12
[tex]p=\frac{432}{12}[/tex]