there's actually three ways! we forgot the one you mentioned, but you could also mate by moving the queen right of the white king ^^