TRIANGLE

solved with help of two vectors