Time Complexity

Can you please explain to me how the time complexity is O(N^2)