You can identify the positive output from the power supply with a simple meter.
If you are going to be doing any work with electricity or electronics, you should at least have a meter.
Even a very basic and inexpensive (US$5 or 600 Yen) meter would be very useful.
You need a special connector for the power. Millions of these connectors and power cables were discarded along with the obsolete drives.
If you search a junk pile or a computer recycling place, you can probably find a floppy drive power cable/connector.
Once you have the +5V and GROUND wires identified, you can connect the +5V to pin 1 and the ground to pin 2.
Pins 2 and 3 are connected together. You do not need to connect to both 2 and 3.
The connector at the top is for a larger 8-inch floppy drive.
The connector at the bottom is for the 3.5 inch floppy drive