Viridien Interview Question

2 math questions