25:7=X:35
7X=35×25
7X=875
X=875÷7
X=125
514:35=57:X
514X=35*57
514X=1995
23:X=12:14
12X=23×14
12X=322
X=322/12
X=161/6