usually, the second verb does not need to be conjugated so the first answer makes sense
also, in the question necesitas is conjugated while estudiar remains in the infinitive (not conjugated) so our response/answer would make sense if necesitas was conjugated and esutdiar remains in the infinitive