If Task 2 says 'Discuss both views and give your own opinion', you must:
ADiscuss only one view
BCover both views AND state your own opinion clearlyCORRECT
CAvoid an opinion
DTranslate the topic
IELTS Writing has thousands more questions like this — with Worked answers on every one.