How to find the angle of a vector? What is its formula? What's the formula for finding the angle between two straight lines?

How to find the angle of a vector? What is its formula? What's the formula for finding the angle between two straight lines?

The vector angle formula is cosa = (A.B) / (|a |b |)
Let the slope of the line be K1, K2
If the angle is a, then Tana = | (k1-k2) / (1 + k1k2)|