How do I connect verbs with nominalisation?


For example:

> I like dancing and singing.  
>  My hobby is studying Japanese and playing guitar.

How do I connect "studying and playing"? Do I have to use te form? I'm really
confused

upd. nvm, you just connect it with と particle like 歌うことと踊るが好き

