Helpful tools for pathologists include the ability to identify and segment histological areas of diagnostic interest automatically. The challenge with segmentation methods is that obtaining pixel-level annotations for Whole-Slide images (WSI) is both time-consuming and costly. As a solution, weakly supervised approaches have been developed to leverage image-level annotations. But none of these methods have been modified to handle WSIs as far as researchers are aware. This research proposes a region-aware multi-task learning framework (RMTL-Net) to detect benign or malignant prostate tumours in images and simultaneously segment their regions. This model includes a regional attention (RA) module that uses the predicted likelihood maps to automatically train the classifier to learn category-sensitive information in the tumour, peritumoral, and background regions. By seamlessly fusing these regions, it improves feature representation and, in turn, the model's segmentation and classification performance. The Group Teaching Optimisation Algorithm (GTOA) model optimally selects the hyperparameter tuning. Using three publicly available prostate datasets, the research compared the proposed RA module with three state-of-the-art methods implemented recently and conducted extensive ablation experiments.