Option C . I and IV only
Reason : The closest neighbours for G are H,D and F. They have to come in the next 3 places after 'G' in any order. And only I and IV does that. Also that is the only option satisfying the given condition, hence the correct anwer.