Question: In which state is the Petrie electorate?
SQL: SELECT state FROM table_name_39 WHERE electorate = "petrie"