Show that if $q$ is a number that can be expressed as the sum of two perfect squares, then $2q$ and $5q$ can also be expressed as the sum of two perfect squares.
EDIT: I've recently revisited this problem and I found an elementary answer which I posted as an answer below.