The system and its response to the unit step input is shown below.
The value of K is
Mp=25.4 %
−ξπ/√1−ξ2e=0.254
e−πcotθ=0.254
−πcotθ=In(0.254)
cotθ=0.436
ξ=cosθ=0.4
tp=3
⇒πωn√1−0.42=3
ωn=1.14rad/sec
C(s)R(s)=K/Ts2+sT+KT
ωn=√KT⇒ω2n=KT
K=ω2nT
T=12ξωn=12×0.4×1.14=1.09
K=ω2nT=1.142×1.09=1.42