The length of a string under tension follows the relationship:
\[
L = L_0 \left(1 + \frac{T}{Y}\right)
\]
where \( L \) is the stretched length, \( L_0 \) is the original length, \( T \) is the tension, and \( Y \) is Young's modulus.
From the given data:
\[
P = L_0 \left(1 + \frac{6}{Y}\right)
\]
\[
Q = L_0 \left(1 + \frac{8}{Y}\right)
\]
Dividing the two equations:
\[
\frac{Q}{P} = \frac{1 + \frac{8}{Y}}{1 + \frac{6}{Y}}
\]
Rearranging and solving for \( L_0 \), we derive:
\[
L_0 = 4P - 3Q
\]
Thus, the original length of the string is \( \boxed{4P - 3Q} \).