If magnetic field is doubled then magnetic energy density becomes:

Four times

Three times

Two times

Six times