Let the length of each candle be \( L \). The thick candle burns for 6 hours, meaning its burn rate is \( \frac{L}{6} \) per hour. The thin candle burns for 4 hours, so its burn rate is \( \frac{L}{4} \) per hour. Time when both candles were lit is \( t \) hours. Therefore, the remaining length of the thick candle after \( t \) hours is \( L-\frac{Lt}{6}=\frac{L(6-t)}{6} \) and for the thin candle, it is \( L-\frac{Lt}{4}=\frac{L(4-t)}{4} \).
Given: the remaining length of the thick candle is twice that of the thin candle: \[\frac{L(6-t)}{6}=2\cdot\frac{L(4-t)}{4}\]
Simplify: \[\frac{6-t}{6}=2\cdot\frac{4-t}{4}\]
\[\frac{6-t}{6}=\frac{2(4-t)}{4}\]
\[\frac{6-t}{6}=\frac{8-2t}{4}\]
Cross-multiply: \[(6-t)\cdot4=(8-2t)\cdot6\]
\[24-4t=48-12t\]
Reorganize: \[12t-4t=48-24\]
\[8t=24\]
\[t=\frac{24}{8}=3\]
Thus, Ramaswami studied for 3 hours in candlelight.

A, B, C, D, E, F and G are travelling in three different vehicles: Swift, Creta, and Nexon. There are at least two passengers in each vehicle. Among them, only two are male. There are two engineers, two doctors and three teachers.
(i) C is a lady doctor and she does not travel with A and F, who are sisters.
(ii) B, a male engineer, travels with only G, a teacher, in a Swift.
(iii) D is a male doctor.
(iv) Two persons belonging to the same profession do not travel in the same vehicle.
(v) A is not an engineer and travels in a Creta.
(vi) The pair of sisters A and F travels in the same vehicle.
What is the profession of F?