Text this: Hermite-Hadamard type inequalities by using Newton-Cotes quadrature formulas