They may take no more than two hours to complete the assignment.
They are only allowed two hours for this assignment.