Concept:Use the variance formula: Variance=n1∑xi2−(n∑xi)2.Explanation:Given data: 1,2,4,5,x; n=5; variance =2.Sum of numbers: 1+2+4+5+x=12+x.Sum of squares: 12+22+42+52+x2=1+4+16+25+x2=46+x2.Mean μ=512+x.Variance formula: 51(46+x2)−(512+x)2=2.Multiply by 25: 5(46+x2)−(12+x)2=50.Expand: 230+5x2−(144+24x+x2)=50.Simplify: 230+5x2−144−24x−x2=50 → 86+4x2−24x=50.4x2−24x+36=0 → divide by 4: x2−6x+9=0.Factor: (x−3)2=0 → x=3.Answer:x=3, which is option A.