Working together, Philip and Brian swept the porch in six minutes. When Philip swept the porch by himself, he took eighteen minutes. Assuming each person sweeps at a constant rate, how long, in minutes, does it take Brian to sweep the porch by himself?