Xavier has x dollars. This morning Alex had twice as much money as Xavier. After Alex spent three dollars on chips, he only had seven dollars left. How much money does Xavier have?