Tom has twice as many marbles as Luke. Together they have 39 marbles. How many marbles does Tom have?