We are given that the U.S. Senate has 100 members so we can write it in an equation, assuming to be the number of Republicans and to be the number of Democrats:
--- (1)
Given that there were 6 more Democrats than Republicans, we can write another equation: