Answer :

3/5. For simplifying you just keep dividing both sides by the same amounts until they can't both be divided by the same number.
The process therefore for 24/40 would be 24/40 -> 12/20 -> 6/10 -> 3/5