What would I do if I were poor?

Literal

Poor [if-became-かったら] what-shall-do.

貧しかったら uses the たら conditional on the i-adjective. どうしよう is the volitional form of どうする, expressing worried deliberation — 'what shall I do?' The combination expresses anxious speculation about a hypothetical.