Maria is twice as old as Tom. If Tom is currently $$x$$ years old, then Maria's age can be expressed as $$2x$$ years. In 5 years, the sum of their ages will be 50.
What is Tom's current age?