Help please!

1. X shares pay 8% dividend and Y shares pay 9%. Reiko has invested $200,000 more on X shares than she has on Y shares. Her total earnings for the year for the two investments is $271,000. How much did she invest in X shares?

2. Carlos cycles for 2 hours at a fast speed, then cycles for 3 more hours at a speed 10 kph slower. If the entire distance travelled is 90 km, find Carlos' speed for the first two hours of travel.

Thank you soooo much!!!