easy peasy.
think of this in 2 shapes a rectangle sitting on top of a triangle
you have a triangle with a base of 17 and to legs of 12
now if you split that triangle down the middle you have two right angle triangles.
each right angle triangle has a base of 8.5 and a hypotenuse of 12.
Pythagorean theorem tells us that the third leg will be 8.4705371730487081311459128353654, which is nearly 8.5.
you have your self rougly a 45 degree angle.
a little but of trig tells us that it is actually 44.9005279606889
and then come to think of it you could make it a 45 by turning your 12 legs into 12.0208152801713