completed normal equation problem