Question about similar triangles

I was solving the following question on PrepSwift

However, I thought that the relationship couldn’t be determined because we could have functions like:
f1 = 5x+5; f2 = x/5 - 1
Both would yield similar triangles, but have different slopes.

The slopes of the two lines must be the same - coordinate systems are to scale on the GRE.