Pedro spent 57 minutes doing his math and language arts homework. His language arts homework took him twice as long as his math homework. How much time did he spent on his language arts homework?