What is the slope?

2x+5y=9
5x+2y=10

I got -2/5
and
5/2

second one should have been -5/2