How to find the direction and steapness of a Line

mohammad askar