Woebot Health Interview Question

How would you join these two tables and summarize?