Citadel Interview Question

How would you set state with a nested object