Here is a system
to be controlled (G(s)) and there is a compensator and a variable gain,
K. The transfer function for the system is:

The block diagram for the system is shown below - showing the location of the existing PID controller. You need to replace the PID controller with a compensator.

For the given transfer function, G(s):