How to solve Line Line Line Graph

For 30 points you can go through this link

The setters solution passes it for 30 points as largest independent set in L(G) = maximum matching in G so you just output max_matching size .