Finite-element analysis of polyhedra under point and line forces in second-strain gradient elasticity