how do I find the value of y in 2/y=4/5

Cross multiply.

2/y=4/5

4y = 10
y = 10/4
y = 2.5