...and if you try to parallel secondaries for more current but don't watch phases, it will smoke...
before paralleling, connect in series and measure voltage on ends.
if it is next to nothing, it is safe to connect the ends (keep the "middle" or tap connected the way it is). If you see that voltage accross ends is sum of the two secondaries, you have to swap the ends of ONE of the secondaries (not both).
also don't try to parallel different secondaries...
you can also connect in series primary and secondary too. it's called autotransformer. so if you have 120VAC primary and 40VAC secondary, you can get voltages like 80VAC (120-40=80) or 160V (120+40=160) depending on arangement. note that in this case there is no isolation from the mains but the transformer size can be much smaller than isolated version for same power rating.