Clipboard Interview Question

To write two scripts (Javascript/nextjs) that generates the specific data from the system basically data analysis.