Person A can paint the​ neighbor's house 3 times as fast as Person B. The year A and B worked​ together, it took them 10 days. How long would it take each to paint the​ house?

Bro I don't know if I'm dumb or not but I literally can't figure this out. Please help my struggling self wcdfvrd