Solution:
Let the number of republicans be

Let the number of democrats be

For a recent Congress, there were 10 more Democrats than Republicans in the U.S. Senate.
This can be represented below as

The ratio of democrats to republicans is

put d=r+10

Substitute r =45 in the equation belo

Hence,
The final answer is
55 democrats
45 republicans