If we were asked to compute the frequency response, one thing that we need to keep in mind is that, no matter how complexed the problem might look, we have to somehow arrange it into $ Y(w) = H(w)X(w) $ format. The following example would illustrate this: