That is easy. The sum over the three angles of a triangle is 180 degrees. As your triangle is symmetric, the two bottom angles are of same degree, say a, and let's call the ridge angle b.
So 2*a+b=180, thus a=90-b/2.
If you do the ridge as a right angle, b=90, and the side angles are a=45.