A motorcycle was sold at 20%. If the motorcycle was sold for 4000, what was the original price?

Let X be the original price of the motorcycle.

The motorcycle was sold for X - (20/100)*X = 4000.
Combining like terms, we get X - 0.20X = 4000.
Combining like terms, we get 0.80X = 4000.
Dividing both sides by 0.80, we get X = 4000 / 0.80 = 5000. Answer: \boxed{5000}.

Bakani bought a dress at a discount price of 90. This 15% discount applied to the cost price. What was the cost price of the dress?

Let X be the cost price of the dress.

The discount price is X - (15/100)*X = X - 0.15X = 0.85X.
We are given that the discount price is 90, so 0.85X = 90.
Dividing both sides by 0.85, we get X = 90 / 0.85 = 105.88 (rounded to the nearest hundredth).
Therefore, the cost price of the dress was approximately $105.88.

To find the original price of the motorcycle, you can use the formula:

Original Price = Sale Price / (1 - Discount Percentage)

In this case, the sale price of the motorcycle is $4000, and the discount percentage is 20%.

Using the formula:

Original Price = 4000 / (1 - 0.20)
Original Price = 4000 / 0.80
Original Price = $5000

Therefore, the original price of the motorcycle was $5000.