Triangle-degrees in graphs and tetrahedron coverings in 3-graphs