Help With Tweening

I have a part that I want to spin using tweens. I want it to start slow and increase speed i then want it to stay at that constant speed for a bit before gradually reducing speed and stopping. what is the best way to do that

Ive made a few attempts it doesn’t seem to go as i want

I haven’t tested it in studio but i think this might help

game:service'TweenService':Create(your_obj,TweenInfo.new(.25,nil,nil,-1,false),{your_obj.Orientation=your_obj.Orientation+Vector3.new(5,0,0)}):Play()

Use orientation and direction InOut.