Spi communication not working

well me and my mate we were doing it in a rush any suggestion for a code I have no idea how it should look like, also i read i guess here: SPI Arduino Library, connecting SPI devices to Teensy that teensy cant be a slave so you need some library but even after that it didnt work