The BMW provided is a 110v house hold plug head. So no, the BMW cord won't connect. It's a slow Level 1 charger anyways
Since you said the charger is already plugged in, you just need a Tesla to J1772 adapter head. Tesla connection heads are proprietary design.
https://www.amazon.com/gp/aw/d/B07V7...&pd_rd_plhdr=t
If the charger is not there, and you're pretty sure a Tesla charger used to be there, you can assume that there's enough amperage (or look at your panel and see if the amp is labeled). If this is a case then you just need to buy a 14-50 EV charger.
Again all this is presuming that a Tesla charger is or was there. Don't forget to set your BMW to accept the 16a charging rate...read the manual