A Class of Functional-Integral Equations with Applications to a Bilocal Problem