Connect iPad to mic/line 1 & 2

I want to connect my iPad as a sound input to my ur22 mkII … can I use a “1x mini-jack - 2x XLR cable” for that too mic/line input 1 & 2 ( like this one https://www.bax-shop.be/nl/procab-cla712-1x-mini-jack-2x-xlr-verloopkabel-3m )? Or can I only use a “1x mini jack-jack - 1 XLR cable” to mic/line input 2 (like this one https://www.bax-shop.be/nl/procab-cab714-xlr-male-jack-3-5mm-male-stereo-3-00-meter ).

Thanks for the help!

I bought both cables and none of them work properly. I guess I have to buy a “mono jack cable to xlr” and not a “stereo to xlr calbe”?

Anyone who can help me?