A dealer buys an article at Rs x and sells it for R96 ,thus making a profit of x%.find the value of x.

I assume that "R" represents a unit of currency such as the Chinese Renminbi.
98/x = 1 + x/100
Turn that into a quadratic equation and solve for x. Take the positive root.
This a rather unusual problem since x is used as both an amount currency and a percentage. It makes no sense dimensionally.