Mathnasium Interview Question

Simple algebra