If q^2 i inverely proportional to p3 and q=5 when=2,find the value of p when q=17.