On the Structure of the Solution Set of Forced Pendulum-Type Equations