Need to find the derivative of $h(y)= \ln(y^2 \cos y)$

Treating it like a normal variable like an x isn't working for me, the way we used y's in earlier problems where you get a y' in there doesn't seem right, so I'm not quite sure here.