Eq.1:

study=dont fail

Eq.2:

dont study=fail

adding eq 1&2

study+dont study=fail+dont fail

taking common

study(1+dont)=fail(1+dont)

solution:

study=fail….