The orbit of a spacecraft around the Sun has a perihelion distance of 0.1 AU and an aphelion distance of 0.4 AU. What is the semimajor axis of the spacecraft? What is its orbital period?