Painting raised £650 for Marie Curie at Royal Academy Summer Exhibition