Concept:The modulus ∣1−x∣ splits the equation into two cases based on whether (1−x)≥0 or (1−x)<0.Each case gives a quadratic equation, solved using the quadratic formula x=2a−b±b2−4ac.Only roots satisfying the case condition are accepted.Explanation:Case I: 1−x≥0 i.e. x≤1.Then ∣1−x∣=1−x, so 1−x+x2=5.Simplify: x2−x−4=0.Using quadratic formula: x=21±1−4(1)(−4)=21±17.Both roots are 21+17≈2.56 and 21−17≈−1.56.Since x≤1, only x=21−17 is valid. This root is irrational.Case II: 1−x<0 i.e. x>1.Then ∣1−x∣=−(1−x)=x−1, so −(1−x)+x2=5 becomes x−1+x2=5.Simplify: x2+x−6=0.Using quadratic formula: x=2−1±1−4(1)(−6)=2−1±25=2−1±5.Roots: x=2 and x=−3.Since x>1, only x=2 is valid. This root is rational.Thus the equation has two real roots: one irrational (21−17) and one rational (2).Answer:A. a rational root and an irrational root