Ratio

Q#)

In 3 : 8 = 21 : G, what is the value represented by G?