A coin is tossed three times, so the sample space has \(2^3=8\) equally likely outcomes. Write an outcome as an ordered triple such as \(HTH\), where the first, second and third entries are the results of tosses 1, 2 and 3.
For any events \(E\) and \(F\) with \(P(F)>0\),
\[P(E\mid F)=\frac{P(E\cap F)}{P(F)}=\frac{n(E\cap F)}{n(F)},\]
because all eight outcomes are equally likely.
(i) \(E\): head on third toss; \(F\): heads on first two tosses
Here \(F=\{HHH,HHT\}\), so \(n(F)=2\). The event \(E\cap F\) consists of outcomes in \(F\) whose third toss is a head: \(E\cap F=\{HHH\}\), so \(n(E\cap F)=1\). Hence
\[P(E\mid F)=\frac{1}{2}.\]
(ii) \(E\): at least two heads; \(F\): at most two heads
The event \(F\) is the complement of "three heads", so \(F\) contains all outcomes except \(HHH\): \(n(F)=7\).
The event \(E\) consists of outcomes with exactly two heads or exactly three heads:
\[E=\{HHT,HTH,THH,HHH\}.\]
Then \(E\cap F\) consists of the outcomes in \(E\) that are not \(HHH\):
\[E\cap F=\{HHT,HTH,THH\},\qquad n(E\cap F)=3.\]
Therefore
\[P(E\mid F)=\frac{3}{7}.\]
(iii) \(E\): at most two tails; \(F\): at least one tail
The event \(E\) is the complement of "three tails", so \(n(E)=7\). The event \(F\) is the complement of "no tails" (i.e. \(HHH\)), so \(n(F)=7\).
Now \(E\cap F\) means at most two tails and at least one tail, i.e. the number of tails is \(1\) or \(2\). The outcomes are
\[\{HHT,HTH,THH,HTT,THT,TTH\},\qquad n(E\cap F)=6.\]
Thus
\[P(E\mid F)=\frac{6}{7}.\]
Answers: (i) \(\dfrac{1}{2}\); (ii) \(\dfrac{3}{7}\); (iii) \(\dfrac{6}{7}\).