How to construct a triangle using base and altitude and then similar triangle with given ratios of corresponding side

sangeeta bahl's image