a building having height 25ft cast a shadow 35ft and a person standing on the building of height h and cast a shadow 10 ft wht is the height off man ? please answer me how to solve

Method 1:

tanθ = y/x
tanθ = 25/35
θ = tan⁻¹(25/35)
θ = 35.54º

tan(35.54º) = h/10
h = 10 tan(35.54º)
h = 7.14 ft

Method 2:
25/35 = h/10
h = 25/35 * 10
h = 7.14 ft