Complex Math Problem That Equals 8