Complex sentence: Elementary education is free and compulsory although this is not strictly enforced and many children are not able to attend due to their families need to have them work.
Split into simpler sentences: Elementary education is free and compulsory although this is not strictly enforced. Many children are not able to attend if their families need to have them work.