Identifying geometric sequences and finding the common ratio