The given solution is right. Here R(s) is the input transfer function when it passes through the circuit it converts into E(s) output transfer function. Here Y(s) is the final output transfer function. Here H(s) is the output transfer function out from the circuit finally.