You can find the answer by taking the length of the whole piece and subtracting the number you do know from it, that will give you y. So in your question if you take the length of the whole piece (9.8) and subtract the length you do know (3.9) you would get y=5.9