Hello, thank you for taking the time to post your question!
The starting point here is to take the idea that area = length x width and that the perimeter, meaning 2L + 2W, is equal to 42 to set up a system of equations:
L x W = 108
2L + 2W = 42
Substituting L = 21 - W into the first equation gives
(21 – W)*W = 108
21W – W^2 = 108
Solving that for the value of W then gives
W^2 – 21W + 108 = 0
(W – 9)(W – 12) = 0
W = 9 or W = 12
Then you can plug that back into the first equation to find the length
L = 9 or L = 12
Since it’s asking for the length of the long wall then the value here would be 12!
I hope that helps get you moving in the right direction! Feel free to reach out if you have any additional questions beyond that :)