From residential care to academic excellence, 20-year-old overcomes challenges to achieve top marks