Can you move the cable modem router? If so you could plug them both in to that.
Otherwise if you have a spare network card plug the extra in to the pc that needs the internet and you can use a crossiver network cable between the two.
Otherwise any cheap switch. Evrn a 100mbit on ebay for pennies would be fine