File a Part-Year Resident Return for both Missouri and Kansas. Prepare your Kansas return first, then your Missouri return.
You are correct that you would report the income you earned in Kansas while a Missouri resident as 'double taxed' if you paid Kansas tax on all your income.
Here's more info from the Missouri Dept. of Revenue:
https://dor.mo.gov/faq/personal/nonresident.php
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"