The states C and D spend a total of ​$54.3 million for tourism. The state C spends ​$1.7 million more than the state D. Find the amount that each state spends on tourism.