A fourth-order boundary value problem for a Sturm-Liouville type equation