Arduino with midi breakout board

Hi, sorry, should have been clearer. My Yamaha keyboard only has a ''B'' type USB to host output, no midi output. The two devices are from the following links. https://www.ebay.com.au/itm/Arduino-Compatible-Uno-R3-ATM. and https://www.ebay.com.au/itm/MIDI-Shield-Musical-Breakout-Boar.

I have downloaded the IDE program, and the driver required. Maybe if I could locate the correct code, I could be on the way. I am looking to go from the USB type ''B'' to give me the normal older type 5 pin midi output. I think these two units should be able to do that function when set up correctly.