How to use Registration points to stretch and rotate a MovieClip Correctly

Is kind of an explanation of what I am trying to do.
I have 2 known points, a slope, the angle I want it to rotate to, and the hypotenuse.
I've spent at least an hour trying different things, and googling.
Any idea on what I should do? Currently just setting the width larger, and then using .rotation.
Thanks.