how many ways could somebody make a house rectangular house if she used 23 connecting cubes?explain

only one way, since the dimensions will have to be factors of 23. The house can only be rectangular if it is 1x23. Any other shape will have cubes left over or a hole somewhere.