For sure you suffering on school trying to resolve arithmetic operations as quick as you can or find the easier way to get the result.
Stop breaking your brain and just follow this two steps:
- Convert the numbers in lines.
Group and count the lines intersections.
The explanation in word could be difficult to express, but follow this video and everything will be clear, apply it and do not suffer anymore with Maths.