To solve this problem, we need to determine the lengths of the train \( P \) and platform \( Q \) given the speed of the train and the time it takes to cross a mark on the platform and the platform itself.
Thus, the lengths are \( P = 45 \, \text{meters} \) and \( Q = 80 \, \text{meters} \).
Therefore, the correct option is (45, 80).