(d)
If triangle is formed including point $'P'$ the other points must be one from $l_{1}$ and other point from $l_{2}$. Number of triangle formed with $P = {\ ^{3}C}_{1} \times {\ ^{5}C}_{1} = 15$ ways
When $P$ is not included.
Number of triangle formed
$= {\ ^{3}C}_{2} \times {\ ^{5}C}_{1} + {\ ^{3}C}_{1} \times {\ ^{5}C}_{2} = 15 + 15 = 30$
Total number of triangles=15+30=45