A square painting has an area of 9 square metres. How long is each side?