Using a pestle, bash the flanks until flattened. Using a pestle and mortar, pound the garlic, salt and pepper into a paste. Rub the garlic mixture over the steak and stir together with the oil. Heat a frying pan and add the marinated flanks and onions. Simmer gently until the meat is tender and cooked through.