On Generating Functions Involving the Square Root of a Quadratic Polynomial