The perimeter of a pool table is 40ft. The table is three times as long as it is wide. What is the length of the pool table? Show work

P = 2L + 2W

40 = (2 * 3W) + 2W

40 = 8W

5 = W

5 * 3 = L