Intuit interview question

find the position in 1-0 rectangle