Ok there are a few things that could stop the USB's from working. Assuming the 2 that aren't are on the same side, they are usually on a separate board which connects to the main board using a ribbon. If one of those ports are damaged that would explain both of them not working but also why the other one is. Check both the ports and make sure everything looks intact, the pins are the main thing. If the pins have moved (usually when the plastic is broken/missing) they would more than likely be creating a short, in turn the motherboard would disable those ports to prevent any damage.