They're the same because squares have 90 degree angles and that cut in half with a diagonal would make the angle acute at a 45 degree angle so depending on the lengths of the sides depends on the area, the angles have nothing to do with it because all squared have 4 right angles
The length of the ramp is 13 ft according to the Pythagorean theorem but I don't have an idea about the angle incline.. we must trigonometry to find it .