Passive hubs draw power from another device and cannot supply high power devices. When you purchase a hub, make certain that it is a powered hub that is capable of supplying 500 milliamps per connection so you can power any peripheral that requires significant power. Read the instruction manual to find out how much current is required for your device. Errors in judgment can result in smoke, flames, and otherwise damaged equipment. They are different in shape and size.
Time is short so here is a rough explanation.
Type-B connectors are considered removable. Type-A cables are attached more permanently. Of course, in the real world, idiots can glue together anything they want. You should be suspicious when you need an A to A cable. Each cable can be up to about 5 meters long.