Bright Data Interview Question

Two tasks for writing code in google docs