Gerry had 24 LEGO bricks and Jane had 6 bricks. Gerry gave some of his bricks to Jane so that she ended with twice as many bricks as Gerry. How many bricks did Gerry give to Jane?