Need help modifying rotation(tilt)/spin

I tried it but I guess I messed up something because of which I didn’t work or may be it doesn’t work how I want it to