To cast your phone screen on your TV you need to have Chromecast.
Follow the steps to successfully cast your screen-
Cast from Chromecast-enabled apps to your TV
Note: The Cast button isn't located in the same place on all Chromecast-enabled apps.
You can now cast videos, movies and TV shows directly to your TV.
To stop casting, tap the Cast button and then Disconnect.
You can also watch this step-by-step guide to do the same
You can check the complete specs of this phone: Moto X4
Moto X4 vs Xiaomi Mi A1
Both the phones have their pros and cons, lets analyze both:-
Advantages of Motorola Moto X4
1.Has Front Camera Flash:-Having a front camera flash allows you to take selfies in low light.
2.Supports NFC:-NFC enables wireless payments through your device. You can also connect two NFC enabled devices just by touching them with each other.
Advantages of Xiaomi Mi A1 :-
1.Bigger Screen:-Reading, browsing internet and watching movies is more pleasing experience on a bigger screen.
2.Slimmer:-Slimmer devices are easier to carry in pocket .
Verdict - In my opinion, Motorola Moto X4 is better overall performance and price ,if you need bigger screen and slim handste you can go for Mi A1
You can also compare these devices on 91mobiles
Samsung Galaxy A5 2017 vs Moto X4
Moto X4 should be better as it has the following advantages:
Though it is not one sided Samsung Galaxy A5 2017 has the following advantages:
Verdict Hence in my view MOto X4 is definitely a better device with better all round performance and better specifications.
You can also compare your devices on 91mobiles link Samsung Galaxy A5 2017 vs Moto X4
It is a tough fight between Xiaomi Redmi Note 5 Pro and Moto X4 as on one side Xiaomi Redmi Note 5 Pro has bigger screen and bigger battery and on other side Moto X4 has a powerful processor.Xiaomi Redmi Note 5 Pro vs Moto X4
Moii Chhangte Singh
I will recommend you Moto X4. It comes with a 5.2-inch IPS LCD Full HD display which exhibits a screen resolution of 1,080 x 1,920 pixels. Under the hood, a 2.2GHz Cortex A53 octa-core processor which is placed upon a Qualcomm Snapdragon 630 chipset aided by 6GB RAM. The Moto X4 is armed with a dual primary camera (12MP+8MP) and a 16MP front camera setup.
The device is fuelled by a 3,000mAh Li-ion battery which supports turbo-charging. Overall, if you are looking for a premium device in this range then you can go for the Moto X4.
You can also check the complete comparison here: Moto X4 6GB RAM vs Oppo F5