An ideal gas occupies a volume of 2 m³ at a pressure of 3 × 10⁶ Pa. The energy of the gas is:

A) 9 × 10⁶J
B) 6 × 10⁴J
C) 10⁸J
D) 3 × 10²J