Application of linear eqautions

Question
Application of linear eqautions

An art dealer sold two artworks at $1520 thereby making a profit of 25% on the first work and 10% on the second, where as if he had approached any exhibition he would have sold them together for $1535 with a profit of 10% on the first and 25% on the second. Find the actual cost of each artwork.