One building is 960 ft. The shortest side of the building is 150 ft. What is the length of the longest side of the building?

What does "One building is 960 ft" mean ????

Is it the perimeter???

I will assume that is what you meant.
so
2(150) + 2L = 960
2L = 660
L = 330