If it costs $5.15 to buy 0.25 oz of walnuts, then we can use the next proportion to find how much would it cost to purchase 4.5 oz of walnuts.:
[tex]\frac{5.15\text{ \$}}{x\text{ \$}}=\frac{0.25\text{ oz}}{4.5\text{ oz}}[/tex]Solving for x,
[tex]\begin{gathered} 5.15\cdot4.5=0.25\cdot x \\ 23.175=0.25\cdot x \\ \frac{23.175}{0.25}=x \\ 92.7=x \end{gathered}[/tex]It would cost $ 92.7 to purchase 4.5 oz of walnuts.