Let the cost of the chair be Rs x.
Cost of the table be Rs y.
Profit on the chair = 25 %
Profit on the table = 10 %
⇒1.25 x + 1.1 y = 1520 ---------------------- (1)
Profit on the chair = 10 %
Profit on the table = 25 %
⇒1.1 x + 1.25 y = 1535 ---------------------- (2)
Solving equations (1) and (2), we get
x = 600, y = 700.
Therefore, cost of the chair is Rs 600 and the cost of the table is Rs 700.