Your answer is 1/16
(X×6)/6 =3/8
(X×6)/6 =(3/8)/6
Yes, the 36" shelf can hold all 24 books. As 5/4=1.25" meaning, you take 1.25X24=30". So 24 books only take up 30 inches of a 36 inch shelf.
If you're looking for the angle it is a 30, 60, 90, but if you're looking for the length of the hypotenuse it's 5