A bug lives on a corner of a cube and is allowed to travel only on the edges of the cube. In how many ways can the bug visit each of the other seven corners once and only once, returning to its home corner only at the end of the trip?

See

http://www.jiskha.com/display.cgi?id=1257123004