first you have to make the units same. it will be easier if you make both the units to be days.
2 weeks= 14days
ratio will be
34:14
if you can make it into simpler form, then make it. this answer can simplified into smaller form,thus,
34:14
17:7
the answer is 17:7