Sum of present age of Pawan and Ravi = 2x30 + 2x6 = 72
As average of Pawan, Ravi and Ranjan is 30 today.
so total age of Pawan, Ravi and Ranjan = 3x30 = 90
So, Ranjan’s age as today = 90 – 72 = 18
Hence age of Ranjan’s after 6 year will be = 18 + 6
= 24 years