Complex sentence: In 1894, he went back to the Philippines where he took the competition for chief chemist of the Municipal Laboratory of Manila, came in first and won the position.
Split into simpler sentences: In 1894, he returned to the Philippines where he took part in a competition to determine who would become the chief chemist of the Municipal Laboratory of Manila. Luna came in first and won the position.