Allan built a doghouse and he wanted the house to have an area of 24 square feet. He also wanted the width to be 2/3 the length. What are the dimensions of the doghouse?