The area of a right triangle is 12 cm2. Which of the following could be the lengths of the legs of the triangle?

2 cm and 6 cm
4 cm and 6 cm
3 cm and 2 cm
3 cm and 4 cm