Text this: Effective quadrature formula in solving linear integro-differential equations of order two