За теоремой Пифагора: (3х)^2+4x^2=30^2 9x^2+16x^=30x^2 25x^2=900 x^2=900/25, x^2=36, x=6, MK=3х=3*6=18, МР=4х=4*6=24