In a GP the 5th term is 48 and 2nd term is 6 . Find the common ratio

I don't know

ar = 6

ar^4 = 48
so divide to get
r^3 = 8
r = 2