How calculate diagonal angle in the triangle

I have 3 values: Height, width and simple account measure in a triangle, height and width are variable.

I need to calculate what angle to rotate the texture on the element marked with the red line

2 Likes