Study of Compact X-Ray Laser Pumped by a Pulse-Train Laser