The Prime Minister is a member of the federal Parliament in Canberra. The Prime Minister is the leader of the political party that is in government, and is a member of the House of Representatives. The federal Parliament and state Parliaments are separate and have separate responsibilities.
In the Western Australian Parliament, the Premier is the head of government, and sits in the Legislative Assembly.