Correct option is B
Let cost price of the article be Rs. x
According to the question
⇒ x ×40/100 = 500
⇒x= 500 × 100/40 = 1250. Cost price of the article is Rs. 1250
Short Trick:
Let Cost price of the article be 100%
40% =500
100%= Rs. 1250