(i) Step 1: Solve for elements of set X.
X={A,L,O,Y}
Step 2: Solve for elements of set B
B={L,O,Y,A}
Step 3: Comparing elements of set X and set B
Every element of X is same as every element of B
∴X=B
(ii) Step 1: Solve for elements of set A
A={n:n∈Z and n2≤4}
∴A={−2,−1,0,1,2}
Step 2: Solve for elements of set B.
B={x:x∈R and x2−3x+2=0}
On solving x2−3x+2=0
x2−2x−x+2=0
x(x−2)−1(x−2)=0
⇒(x−2)(x−1)=0
⇒x=1 or x=2
∴B={1,2}
Step 3: Comparing elements of set X and set B.
Clearly {−2,−1,0} is in set A but not in set B.
∴A≠B