the answer you wrote translates to "to cook in the kitchen"
the correct answer would be "cocina" instead of "cocinar" since the later is in infinitive form
3.4m questions
4.4m answers