Note that

.

It is considered to be more elegant to rationalise denominators, because it better represents what a fraction is - namely, dividing a length into a COUNTABLE number of pieces.

However, rationalising the denominator is not usually done until the very end, as it could result in more work with whatever you happen to be doing. Perhaps your book intends you to use this answer for further calculations...