I would pay the one charging you the most in interest. Is your first mortgage a 30 year fixed or a 15 year fixed? If it's a 30 year fixed and you have nine years left you're mostly paying principal. I would concentrate on the note with the highest and most interest still remaining.
Or you can split the extra payments between them.