Let's call the time you drove "x" and the time your wife drove "y". We know that the sum of the two times is 20 hours:
x + y = 20
We also know the distance traveled during each part of the trip. The first part of the trip was 55x miles, and the second part of the trip was 65y miles. The total distance of the trip was 1170 miles:
55x + 65y = 1170
We can use the first equation to solve for x in terms of y:
x = 20 - y
We can then substitute this expression for x in the second equation:
55(20 - y) + 65y = 1170
Simplifying and solving for y:
1100 - 55y + 65y = 1170
10y = 70
y = 7
So your wife drove for 7 hours. We can use the first equation to find your driving time:
x + 7 = 20
x = 13
So you drove for 13 hours.