A rectangular shape garden next to a barn is to be fenced on 3 sides with 120 total feet what’s the dimension of the garden?

A rectangular shape garden next to a barn is to be fenced on 3 sides with 120 total feet what’s the dimension of the garden?