You should always help out your friends with schoolwork.
Joey couldn't play basketball with John until he finished doing his homework.
John wants to play basketball.
John helps Joey with his homework to help him get the work done faster.
John goes outside to play basketball by himself while Joey tried to finish his homework.
Joey is able to play basketball with John after the homework is done.
Joey never goes out to meet John because he doesn't finish all his work.