Problem

GEO-B1-M03-P019 A Square in a Triangle

#19 Grade 8 Grade 9 ★★★★☆ Level 4 of 5

A square is inscribed in a triangle with base \(a\) and altitude to this base \(h\), so that one side of the square lies on the base and the two upper vertices lie on the lateral sides. Find the side of the square.