An Indian Geometry Problem from 1,000 Years Ago