Step 1: Set up the equation.
Let the number of shirts purchased be \(x\) and the number of ties be \(y\). Since each shirt costs Rs. 43 and each tie costs Rs. 21, and the total spent is Rs. 535:
\[ 43x + 21y = 535 \]
Both \(x\) and \(y\) must be non-negative whole numbers, since you cannot buy a fraction of a shirt or tie.
Step 2: Solve for whole number values.
Taking the equation mod 21, and noting \(43 \equiv 1 \pmod{21}\), we get \(x \equiv 535 \pmod{21}\). Now \(535 = 21(25) + 10\), so \(x \equiv 10 \pmod{21}\).
Because \(43x \le 535\), we need \(x \le 12.4\), so the only value of \(x\) in this range congruent to 10 mod 21 is \(x = 10\).
Substituting back: \(21y = 535 - 430 = 105\), so \(y = 5\).
Final Answer:
The ratio of shirts to ties is \(10 : 5 = 2 : 1\). Options like 1:2 or 2:3 don't satisfy the cost equation with whole numbers of shirts and ties, only \(x=10, y=5\) does. \[ \boxed{\text{Shirts : Ties} = 2 : 1} \]