Six servings of stew can be cooked in a 2-quart pot. How many can be cooked in a 12-quart pot?

Jane solved 6
2
= f
12
and answered 36.

Ivania solved 2
6
= 12
f
and answered 36.

Compare the two methods. Are both correct?