what volume should the solution diluted to create a 2.0M solution with a 5g of potassium hydroxide?

mols KOH = grams/molar mass

Solve for mols. Then,
M = mols/L soln
You know M and mols, solve for L and convert to mL if desired.