Perhaps you set up the correct proportion:

but then solved it incorrectly. You should cross-multiply first.