An experimental setup is shown in the diagram below. A polymer rod, which has been electrically charged, is balanced horizontally on an insulating, low-friction pivot.

Explain how a student can use this setup to show that another rubbed rod has the opposite type of charge.