Explicit forms of weighted quadrature rules with geometric nodes