If sinθ+cosθ=p, what is sin2θ+cos4θ in terms of p ?