Write the greatest common factor in each of the following terms.
 
1. \(2xy,−y^2,2x^2y\)
 
2. \(l^2m^2n,lm^2n^2,l^2mn^2\)