I'm going to assume that dialabrain is correct and that you've got a 2015 MacBook.
I appreciate that connectivity for that model is difficult/non-existant without paying for adaptors or cables etc.
However, if you already have a USB 3.0 or USB 3.1 USB-A to USB-C Cable (not an adaptor - I'm guessing you don't have one of those) then you can use target mode as described above.
Internet Recovery Mode (which you've already attempted, I know), should work for you. In instances where it should but doesn't, the problem is typically the nature of the internet connection. See here for a chart of what won't work: https://support.apple.com/en-ie/HT201314
If IRM really is a dead duck, and you've no way to physically connect to an external installer (bar IRM you can't install OS X remotely without a physical connection), you're going to run up against OS X refusing to install a version of itself that is lower than the one already installed.
I can think of a couple of hacky command-line-from-Recovery-Mode based solutions, but I've not tested either of them and you'd be taking the chance that you could end up with no functioning OS X on your MacBook at all if it goes badly wrong. At that point, you would need an adaptor or cable to get back to Yosemite.