Dear student,
Let the cost price of first fan is
Then the cost price of second fan is
Since, profit of first fan is .
Hence, selling price of first fan is,
Since. loss of second fan is .
Hence, selling price of second fan is,
According to the question, shopkeeper sold both fans on same price.
So,
Then the cost price of first fan is and cost price of second fan is,
Regards