You may be thinking of something like this answer,
which shows how to prove that $Q(x,y)$ is true
for all integers $x \geq 0$ and $y \geq 0.$
In particular, consider this syllogism from that answer:
\begin{align}
&Q(0,0) \tag1\\
&\forall x,y. Q(x,y) \Rightarrow Q(x+1,y) \tag2\\
&\forall x,y. Q(x,y) \Rightarrow Q(x,y+1) \tag3\\ \hline
&\forall x,y. Q(x,y)
\end{align}
This is basically induction on the sum $k=x+y.$
The base case $(1)$ is the only possible case when $k=0.$
The inductive step requires two cases because we need $Q(x,y)$ to be true for all possible pairs $(x',y')$ such that $x'+y'=k+1,$
including $x'=k+1, y'=0$
(which can be shown by $(2)$ with $x=k,y=0$ but not by $(3)$)
and $x'=0, y'=k+1$
(which can be shown by $(3)$ with $x=0,y=k$ but not by $(2)$).
You have $n \geq 3$ and $0 \leq l < n-1,$ not $x\geq 0$ and $y\geq 0.$
So you can try a change of variables.
The fact that $l \leq n-2$ implies that $n - l - 2 \geq 0,$
so you could try setting $x=n - l - 2,$ which makes $x$ an integer such that $x\geq 0.$
Then you can set $y=l,$ so $y\geq 0.$
So $P(n,l)$ becomes $P(x+y+2,y).$
So $Q(x,y) = P(x+y+2,y).$
There's one hitch (aside from the possibility that $P(x+y+2,y)$ is too awkward a statement for you to easily work with):
the base case $x=y=0$ requires you to prove $P(2,0),$
which is not something you claimed to be true.
There are a few ways around this:
- Show that $P(2,0)$ is true after all (but this works only if the statement actually is true!).
- Let $Q(x,y) = (P(x+y+2,y) \lor (x=0,y=0)).$
- Prove $P(3,0)$ and $P(3,1),$ from which you can conclude that $Q(1,0) \land Q(0,1),$ and use that as your base case instead of $Q(0,0).$ (Basically this is doing induction on $x+y$ where $x+y\geq 1$ rather than $x+y\geq 0.$)
Alternatively, you can go back to your original claim,
$P(n,l),$ do an induction on $n$ with base case $n=3$
(which means you have to prove $P(3,0)$ and $P(3,1)$),
and for the inductive case you have to prove that if
$P(n,l)$ for all $l$ such that $0 \leq l < n-1,$
then $P(n+1,m)$ for all $m$ such that $0 \leq m < n.$