In this paper we present some results about subgroup which is generalization of the subgroup R2otimes(G)=ainG∣[a,g]otimesg=1otimes,forallginG of right 2otimes-Engel elements of a given group G. If p is an odd prime, then with the help of these results, we obtain the results about tensor squares of p-groups satisfying the law [x,g,y]otimesg=1otimes, for all x,g,yinG. In particular p-groups satisfying the law [x,g,y]otimesg=1otimes have abelian tensor squares. Moreover, we can determine tensor squares of two-generator p-groups of class three satisfying the law [x,g,y]otimesg=1otimes