Answer
Clockwise in both cases.
Work Step by Step
a. The magnetic field at the loop, due to the current in the straight wire, is directed into the page. As the loop is pulled away, the magnitude of the flux decreases because it is moving into a region of weaker magnetic field. In an attempt to keep the flux from changing, a clockwise current is induced which creates more magnetic field into the page.
b. If the loop is stationary but the current in the straight wire decreases, again the magnitude of the flux decreases, and again the induced current is clockwise.