Let first wave
y1=A1sin(ωt)or,y1=3sin(ωt)
and
y2=A2sin(ωt+π2)=4sin(ωt+π2)
resultant wave
y=y1+y2=3sin(ωt)+4sin(ωt+π2)=3sinωt+4cosωt=5[sinωt×35+cosωt×45]=5sin(ωt+α){wherecosα=35andsinα=45}
Hence amplitude of resultant wave is 5cm