You can certainly rotate the point $(0,0,0)$ around your axis. Your axis is parallel to $y$ and offset from the origin by $50$ units. The easiest way to do this is to translate your axis and all of space to put the axis through the origin, rotate the space, and translate back. Your translation is then by $(-40,0,-30)$ so your zero vector moves to $(-40,0,-30)$. Now if you rotate this by an angle $\theta$ it becomes $(-40 \cos \theta -30 \sin \theta,0,30 \sin \theta -40 \cos \theta)$ if our sign conventions agree. Translating back then gives your final point as $(40-40 \cos \theta -30 \sin \theta,0,30+30 \sin \theta -40 \cos \theta)$