Let the original price of the cycle be X
After 20% loss, the value becomes (X - X*20/100)
Given
X - X*20/100 = 1250
X(1 - 20/100) = 1250
X(100 - 20)/100 = 1250
X(80) = 1250*100
X = 125000/80
X = 1562.5
In order to get 40% profit, it should be sold at
X + X* 40/100 = 1562.5 + 1562*40/100
= 1562.5 + 625
= Rs 2187.5