There is no strict rule on this. Most style guides recommend writing out numbers between 1 and 9 alphabetically and writing larger numbers numerically. However, when there is a combination of numbers, most recommend being consistent in the written piece. That would normally be to write all the related numbers numerically.
Your title is fine.