[tex]\begin{gathered} Let´s\text{ call} \\ x=stretch\text{ing} \\ W=weight \\ K=\text{ constant} \\ x=K\cdot W \\ \text{For} \\ x=3in \\ W=17lb \\ \text{Solving K} \\ x=K\cdot W \\ K=\frac{x}{W} \\ K=\frac{3}{17},\text{ the va}riation\text{ constant is }\frac{3}{17} \\ \text{Then},\text{ for} \\ W=45lb \\ x=(\text{ }\frac{3}{17})(45) \\ x=7.94\approx8in \\ Th\text{e spring strerches 8in when the weigth is 45lb} \end{gathered}[/tex]