Lightweight fold-out leg attaches to bed base to provide a platform support for a rectangular mattress