A variable p varies directly as t3 and inversely as the square root of s .When t=2 and s=9,p=16.Determine the equation connecting p, t and s, hence find p when s=36 and t=3.