The other end of UX16 goes to your Yamaha PSR-225GM keyboard. The actual length of the USB cable is 2 feet and the length of the MIDI cables is a little over 4 feet.
You simply connect the UX16 to your USB connector on your computer and plug the MIDI in and out cables (shown in the photo below). The setup is pretty simple and straightforward.
You can use the UX16 MIDI/USB converter to connect between your Yamaha PSR-225GM MIDI keyboard and your computer.