The table and graph show the motion of two remote-controlled model cars, P and Q, during a straight-line race.

| Time (s) | Distance of Car P (m) | Distance of Car Q (m) |
|---|---|---|
| 0 | 0 | - |
| 2 | 8 | 0 |
| 4 | 16 | 10 |
| 6 | 24 | 20 |
| 8 | 32 | 32 |
| 10 | 40 | 44 |
| 12 | 48 | - |
State the distance that Car P has travelled when Car Q overtakes it.