As Tetsujin states accurately, you cannot use the MacBook Pro in target viewing mode or achieve the same result via a ThunderBolt 3 (USB-C?) For ThunderBolt 2 cable.
However, there are other options you can investigate, but I have no personal experience with them. Two of these options are listed below:
In summary, they promise users to share their Mac screens on a variety of devices, including other Macs.