Analysis of bi-dimensional solids with internal unilateral constraint coupled to structural elements with different degree of connection