Swati got homework for 2 different subjects from school. She took 23 hour to complete the homework of first subject and to complete the homework of second subject she took twice the time taken by her for first subject. How much time she spent to complete the homework?