How can I mirror my iPad 2 to my Sony Bravia TV?

I have a Sony Bravia smart TV and I am trying to link my iPad Air 2 for mirroring.
On the TV it is asking for devices PIN code ( 8 numbers displayed on device ) input and press start button within 2 minutes.
To be honest I have not got a clue, if you can please HELP.
Thanking you in anticipation Terry.
1. Do you have an Apple TV? If so, you can easily view the contents of your iPad to your TV via mirroring or AirPlay.
2. Do you have an Apple composite AV cable or similar cable that can connect from your iPad to your Sony Bravia TV or from your computer to your TV?

Other than that (barring a third party app or something), you will not be able to mirror or use AirPlay between your iPad and your TV.
If you don't have an Apple TV you can buy a HDMI adapter and plug it in.

Original thread: https://forums.imore.com/threads/how-can-i-mirror-my-ipad-2-to-my-sony-bravia-tv.294678/