Finite configurations contained in subsets of Euclidean spaces