Let, $x = $ full capacity of the tank.
We know, $P$ takes $10$ minutes, $Q$ takes $6$ minutes and $R$ takes $\dfrac{x}{34}$ minutes to fill/empty the full tank.
Let, Total work $= LCM(10, 6, \dfrac{x}{34}) = LCM(\dfrac{10}{1}, \dfrac{6}{1}, \dfrac{x}{34}) = \dfrac{30x}{1} = 30x$ units.
$P$ does $\dfrac{30x}{10} = 3x$ units of work per minute.
$Q$ does $\dfrac{30x}{6} = 5x$ units of work per minute.
$R$ does $\dfrac{30x}{\dfrac{x}{34}} = 30 \times 34 = 1020$ units of work per minute.
So, according to given condition,
a) Initially tank was filled means $30x$ units of work already exists without $P, Q$ and $R$ doing work.
b) $P, Q$ and $R$ was doing work for $60$ minutes.
c) After $60$ minutes of work tank was empty means $0$ units of work left.
d) $P$ and $Q$ worked together to reduce the work while $R$ worked against them to increase the work.
$30x + 3x \times 60 + 5x \times 60 -1020 \times 60 = 0$
$30 (x + 3x \times 2 + 5x \times 2 -1020 \times 2) = 0$
$x + 6x + 10x -2040 = 0$
$17x = 2040$
$x = \dfrac{2040}{17}$
$\boxed{x = 120 \text{ litres}}$
Reference:
https://www.youtube.com/watch?v=oApzHGJNx38&list=PLG4bwc5fquzj0Rkn0DVWZP9FxF9iG7OgB&index=39