If you want _integer_ solutions, there are only few: From $$b=\frac{2l}{l-2}$$ we see that $l-2$ is a positive divisor of $2l$, especially $l\ge 3$. As $\gcd(l,l-2)=\gcd(l,2)\le 2$, we even have that $l-2$ divides $4$. Thus leaves us with
* $l-2=1$ and then $l=3$, $b=6$
* $l-2=2$ and then $l=4$, $b=4$, which is not allowed
* $l-2=4$ and then $l=6$, $b=3$, the "dual" to the first
All other solutions (with arbitrary $l>2$, $l\
e 4$) are valid, but not integer solutions.